import { EggAppConfig, PowerPartial } from "egg";

export default () => {
  const config: PowerPartial<EggAppConfig> = {};

  config.logger = {
    level: "WARN",
    outputJSON: true,
    consoleLevel: "WARN",
    // 打开线上终端日志的开关
    disableConsoleAfterReady: false,
  };

  return config;
};
